import request from "@/utils/request";
/**
 * 登录
 * @param data
 * @returns
 */
export const login = async (data = {}) => {
    return await request.post("/sxnf_auth/ua/login", data).then((res) => {
        return res;
    });
};
/**
 * 退出登录
 * @param data
 * @returns
 */
export const outLogin = async (data = {}) => {
    return await request.post("/sxnf_auth/login_out", data).then((res) => {
        return res;
    });
};
// 用户信息
export const getUserInfo = async () => {
    return await request.get("/sxnf_user/user/user_detail_info").then((res) => {
        return res;
    });
};
